# $Id: PKGBUILD 79163 2012-10-31 05:41:19Z ebelanger $
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Trương Xuân Tính <xuantinh at gmail dot com>

pkgname=ibus-unikey
pkgver=0.6.1
pkgrel=2
pkgdesc='IBus module for Vietnamese Keyboard'
arch=('i686' 'x86_64')
license=('GPL')
url='http://code.google.com/p/ibus-unikey/'
depends=('ibus')
makedepends=('intltool')
source=("http://ibus-unikey.googlecode.com/files/${pkgname}-${pkgver}.tar.gz")
md5sums=('3bae6df0d4609a8c438c246030b9a61e')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib/ibus

  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  make DESTDIR="${pkgdir}" install
}
